<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TurtleDB: ca.uqac.dim.turtledb.VariableTable Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TurtleDB
   
   </div>
   <div id="projectbrief">A mini distributed database system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.turtledb.VariableTable Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::turtledb::VariableTable" --><!-- doxytag: inherits="ca::uqac::dim::turtledb::UnaryRelation" --><div class="dynheader">
Inheritance diagram for ca.uqac.dim.turtledb.VariableTable:</div>
<div class="dyncontent">
<div class="center"><img src="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table__inherit__graph.png" border="0" usemap="#ca_8uqac_8dim_8turtledb_8_variable_table_inherit__map" alt="Inheritance graph"/></div>
<map name="ca_8uqac_8dim_8turtledb_8_variable_table_inherit__map" id="ca_8uqac_8dim_8turtledb_8_variable_table_inherit__map">
<area shape="rect" id="node2" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_unary_relation.html" title="ca.uqac.dim.turtledb.UnaryRelation" alt="" coords="5,80,232,107"/><area shape="rect" id="node3" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html" title="ca.uqac.dim.turtledb.Relation" alt="" coords="23,5,215,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ca.uqac.dim.turtledb.VariableTable:</div>
<div class="dyncontent">
<div class="center"><img src="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table__coll__graph.png" border="0" usemap="#ca_8uqac_8dim_8turtledb_8_variable_table_coll__map" alt="Collaboration graph"/></div>
<map name="ca_8uqac_8dim_8turtledb_8_variable_table_coll__map" id="ca_8uqac_8dim_8turtledb_8_variable_table_coll__map">
<area shape="rect" id="node2" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_unary_relation.html" title="ca.uqac.dim.turtledb.UnaryRelation" alt="" coords="5,101,232,131"/><area shape="rect" id="node4" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html" title="ca.uqac.dim.turtledb.Relation" alt="" coords="23,5,215,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table_1_1_variable_table_cache_iterator.html">VariableTableCacheIterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table_1_1_variable_table_stream_iterator.html">VariableTableStreamIterator</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ad08deba67b52439e88c61a0eaaccfba9">VariableTable</a> (String name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ab2f28b7065fb13733e7da0368142f41a">VariableTable</a> (String name, String site)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a31000ab758c3230089cd00280d457cee">setSite</a> (String site)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a2a3a115140d8bb32a040cd7a3dbcdae0">getSite</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ad16ee9c420649ce783b69f32a1ea2922">getSchema</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a08a3c30245333c35273383f015ef45a7">accept</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_query_visitor.html">QueryVisitor</a> v)  throws EmptyQueryVisitor.VisitorException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ab093371cf0ce65b8ff3d218c0710a7e4">toString</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#af96b675d3483a6332ee899f949fa9c22">setName</a> (String name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a3a7352abd5bca8b9904a80b1a1b9bdfc">getName</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a56041dd84799d1d36bda982d22a0a0f7">tupleCount</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">final boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#afd0b10234af37f08de8d13934a5204d5">isFragment</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a4a5cbe27265212947d786d1106380ce7">equals</a> (Object o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a1ee7c424472e6b22edfee46d1fda171f">equals</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a8469b09df3798c91152e353f2e944a48">isLeaf</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_stream_iterator.html">RelationStreamIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#aceaf87e8edfb7beb03dc386b4371605f">streamIterator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html">RelationIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a4289294442a81011eef72a7f176ba0f9">cacheIterator</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ac1d5df8cbc1441b87fd4c3bca187ecf1">VariableTable</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a54f9a15de2f8de3ee349b9c5b7e4124e">m_name</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a2d43191d5c6c3f11ac98654b7bf9a098">m_site</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> is a placeholder for an actual relation. It is used to denote fragments of a query tree that are to be received from or sent to another site. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>sylvain </dd></dl>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00027">27</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac1d5df8cbc1441b87fd4c3bca187ecf1"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::VariableTable" ref="ac1d5df8cbc1441b87fd4c3bca187ecf1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ac1d5df8cbc1441b87fd4c3bca187ecf1">ca.uqac.dim.turtledb.VariableTable.VariableTable</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00039">39</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad08deba67b52439e88c61a0eaaccfba9"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::VariableTable" ref="ad08deba67b52439e88c61a0eaaccfba9" args="(String name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ac1d5df8cbc1441b87fd4c3bca187ecf1">ca.uqac.dim.turtledb.VariableTable.VariableTable</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00046">46</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="ab2f28b7065fb13733e7da0368142f41a"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::VariableTable" ref="ab2f28b7065fb13733e7da0368142f41a" args="(String name, String site)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ac1d5df8cbc1441b87fd4c3bca187ecf1">ca.uqac.dim.turtledb.VariableTable.VariableTable</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>site</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00052">52</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a08a3c30245333c35273383f015ef45a7"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::accept" ref="a08a3c30245333c35273383f015ef45a7" args="(QueryVisitor v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a08a3c30245333c35273383f015ef45a7">ca.uqac.dim.turtledb.VariableTable.accept</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_query_visitor.html">QueryVisitor</a>&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td>  throws EmptyQueryVisitor.VisitorException   <code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#adb708409ab8c4a428ed102c4ce850ffe">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00091">91</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4289294442a81011eef72a7f176ba0f9"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::cacheIterator" ref="a4289294442a81011eef72a7f176ba0f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html">RelationIterator</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a4289294442a81011eef72a7f176ba0f9">ca.uqac.dim.turtledb.VariableTable.cacheIterator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator over tuples of the relation </p>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#a2ea66dc69ae6dc86627aed815ebd40b6">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00227">227</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4a5cbe27265212947d786d1106380ce7"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::equals" ref="a4a5cbe27265212947d786d1106380ce7" args="(Object o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a4a5cbe27265212947d786d1106380ce7">ca.uqac.dim.turtledb.VariableTable.equals</a> </td>
          <td>(</td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00139">139</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a1ee7c424472e6b22edfee46d1fda171f"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::equals" ref="a1ee7c424472e6b22edfee46d1fda171f" args="(VariableTable t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a4a5cbe27265212947d786d1106380ce7">ca.uqac.dim.turtledb.VariableTable.equals</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00148">148</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a3a7352abd5bca8b9904a80b1a1b9bdfc"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::getName" ref="a3a7352abd5bca8b9904a80b1a1b9bdfc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a3a7352abd5bca8b9904a80b1a1b9bdfc">ca.uqac.dim.turtledb.VariableTable.getName</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gives the table's name </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The table's name </dd></dl>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00119">119</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad16ee9c420649ce783b69f32a1ea2922"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::getSchema" ref="ad16ee9c420649ce783b69f32a1ea2922" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ad16ee9c420649ce783b69f32a1ea2922">ca.uqac.dim.turtledb.VariableTable.getSchema</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the relation's schema </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The schema </dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#a7a7af53642133603e51e04d79f938286">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00082">82</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a2a3a115140d8bb32a040cd7a3dbcdae0"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::getSite" ref="a2a3a115140d8bb32a040cd7a3dbcdae0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a2a3a115140d8bb32a040cd7a3dbcdae0">ca.uqac.dim.turtledb.VariableTable.getSite</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the fragment's site. If the <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> is a leaf in a query tree, it is placeholder for data that will be <em>received</em> from this site. If the <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> is the root of the query tree, it indicates that the results of the computation are to be <em>sent</em> to this site. </p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00076">76</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="afd0b10234af37f08de8d13934a5204d5"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::isFragment" ref="afd0b10234af37f08de8d13934a5204d5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#afd0b10234af37f08de8d13934a5204d5">ca.uqac.dim.turtledb.VariableTable.isFragment</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if the query tree is a fragment. This is the case when the tree's root is a <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the query tree is a fragment, false otherwise </dd></dl>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#a78d7c63efc57aac8604051a03443551c">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00133">133</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8469b09df3798c91152e353f2e944a48"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::isLeaf" ref="a8469b09df3798c91152e353f2e944a48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a8469b09df3798c91152e353f2e944a48">ca.uqac.dim.turtledb.VariableTable.isLeaf</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if a given operator is at the leaf of the query tree. Only instances of <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_table.html">Table</a> and <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> may be leaves. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#abeb9200b77b041da59550c75aab6fe22">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00156">156</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="af96b675d3483a6332ee899f949fa9c22"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::setName" ref="af96b675d3483a6332ee899f949fa9c22" args="(String name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#af96b675d3483a6332ee899f949fa9c22">ca.uqac.dim.turtledb.VariableTable.setName</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the table's name. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The table's name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00110">110</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a31000ab758c3230089cd00280d457cee"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::setSite" ref="a31000ab758c3230089cd00280d457cee" args="(String site)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a31000ab758c3230089cd00280d457cee">ca.uqac.dim.turtledb.VariableTable.setSite</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>site</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the fragment's site. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a2a3a115140d8bb32a040cd7a3dbcdae0">getSite</a> </dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">site</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00064">64</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="aceaf87e8edfb7beb03dc386b4371605f"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::streamIterator" ref="aceaf87e8edfb7beb03dc386b4371605f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_stream_iterator.html">RelationStreamIterator</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#aceaf87e8edfb7beb03dc386b4371605f">ca.uqac.dim.turtledb.VariableTable.streamIterator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator over tuples of the relation </p>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#ae5ed6d099a1c47cc0aa0026f9b5a4431">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00221">221</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="ab093371cf0ce65b8ff3d218c0710a7e4"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::toString" ref="ab093371cf0ce65b8ff3d218c0710a7e4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#ab093371cf0ce65b8ff3d218c0710a7e4">ca.uqac.dim.turtledb.VariableTable.toString</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Pretty-prints a relation to a string </p>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html#ae622e86850cef5b988e17bc199129ebe">ca.uqac.dim.turtledb.Relation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00099">99</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a56041dd84799d1d36bda982d22a0a0f7"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::tupleCount" ref="a56041dd84799d1d36bda982d22a0a0f7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a56041dd84799d1d36bda982d22a0a0f7">ca.uqac.dim.turtledb.VariableTable.tupleCount</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of actual tuples present in the query. This number is different from the cardinality of the query; it counts the number of tuples that are present in the leaves of the query tree. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The tuple count </dd></dl>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_unary_relation.html#a9caf00de5820f83cef7ae70b2e0314cd">ca.uqac.dim.turtledb.UnaryRelation</a>.</p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00125">125</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a54f9a15de2f8de3ee349b9c5b7e4124e"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::m_name" ref="a54f9a15de2f8de3ee349b9c5b7e4124e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a54f9a15de2f8de3ee349b9c5b7e4124e">ca.uqac.dim.turtledb.VariableTable.m_name</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The fragment's name </p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00032">32</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<a class="anchor" id="a2d43191d5c6c3f11ac98654b7bf9a098"></a><!-- doxytag: member="ca::uqac::dim::turtledb::VariableTable::m_site" ref="a2d43191d5c6c3f11ac98654b7bf9a098" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html#a2d43191d5c6c3f11ac98654b7bf9a098">ca.uqac.dim.turtledb.VariableTable.m_site</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The fragment's site </p>

<p>Definition at line <a class="el" href="_variable_table_8java_source.html#l00037">37</a> of file <a class="el" href="_variable_table_8java_source.html">VariableTable.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ca/uqac/dim/turtledb/<a class="el" href="_variable_table_8java_source.html">VariableTable.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1turtledb.html">turtledb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a>      </li>

    <li class="footer">Generated on Fri Dec 7 2012 18:55:40 for TurtleDB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
